﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BatDongSan
{
    public partial class Brokers : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int idt = Convert.ToInt32(Request.QueryString["idt"]);
            if (!IsPostBack)
            {
                NhaDatBan.LoadNhaDat(1);
                NhaDatChoThue.LoadNhaDat(2);
                Advertisement1.LoadBannerList(4, 1, "180", "0");
                if (idt > 0)
                    Uct_Broker1.LoadProject(idt);
                else Uct_Broker1.LoadProject(1);
            }
        }
    }
}